package com.interest.business.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.interest.business.domain.InterestRedeemCode;

import java.util.Date;

public class InterestCodeVo extends InterestRedeemCode {

    /**
     * 三方订单号
     */
    private String jtcOrderNo;

    /**
     * 下单手机
     */
    private String mobile;

    /**
     * 商品编码
     */
    private String goodsNo;

    /**
     * 权益编码
     */
    private String interestCode;

    /**
     * 权益名称
     */
    private String interestName;

    /**
     * 权益有效类型
     */
    private String validType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private  Date orderTime;


    public String getJtcOrderNo() {
        return jtcOrderNo;
    }

    public void setJtcOrderNo(String jtcOrderNo) {
        this.jtcOrderNo = jtcOrderNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getGoodsNo() {
        return goodsNo;
    }

    public void setGoodsNo(String goodsNo) {
        this.goodsNo = goodsNo;
    }

    public String getInterestCode() {
        return interestCode;
    }

    public void setInterestCode(String interestCode) {
        this.interestCode = interestCode;
    }

    public String getInterestName() {
        return interestName;
    }

    public void setInterestName(String interestName) {
        this.interestName = interestName;
    }

    public String getValidType() {
        return validType;
    }

    public void setValidType(String validType) {
        this.validType = validType;
    }

    @Override
    public Date getStartTime() {
        return startTime;
    }

    @Override
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    @Override
    public Date getEndTime() {
        return endTime;
    }

    @Override
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }
}
